package com.leyou.item.api;

import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author shkstart
 * @create 2020-04-22 13:36
 */
@RequestMapping("category")
public interface CategoryApi {

    @GetMapping("categoryNames")
    public List<String> getCategoryNames(@RequestParam("ids")List<Long> ids);
}
